import request from '@/utils/request'

// 获取物业费列表
export const getPropertyfeeListAPI = params => {
  return request.get('/park/propertyfee', { params })
}

// 物业费-预算金额
export const getPaymentAPI = data => {
  return request.post('/park/propertyfee/pre/payment', data)
}

// 添加账单
export const addPaymentAPI = data => {
  return request.post('/park/propertyfee', data)
}

// 删除账单
export const delPaymentAPI = id => {
  return request.delete(`/park/propertyfee/${id}`)
}
